<#import "freemarker/componet/notice.ftl" as component />
<#assign s=JspTaglibs["/WEB-INF/struts-tags.tld"]/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>企业登陆</title>
<base href="${request.scheme}://${request.serverName}:#{request.serverPort}${base}/"/>
<link href="styles/layout.css" rel="stylesheet" type="text/css" />
<link href="styles/login.css" rel="stylesheet" type="text/css" />
<!-- Theme Start -->
<link href="themes/blue/styles.css" rel="stylesheet" type="text/css" />
<!-- Theme End -->
<script src="scripts/jquery.min.js" type="text/javascript"></script>

<link href="plugin/formValidator/css/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
<script src="plugin/formValidator/js/jquery.validationEngine.js" type="text/javascript"></script>
<script src="plugin/formValidator/js/languages/jquery.validationEngine-zh_CN.js" type="text/javascript"></script>
<script type='text/javascript'>
	if(self.location.href!=top.location.href){
	       top.location.href=self.location.href;
	}
	
    $(document).ready(function() { 
    	$("#loginForm").validationEngine({
    			relative: true,
				promptPosition:"bottomRight"
    	}) 
    });
</script>
</head>
<body>
	<div id="logincontainer">
    	<div id="loginbox">
        	<div id="loginheader">
            	<img src="themes/blue/img/cp_logo_login.png" alt="Control Panel Login" />
            </div>
            <div id="innerlogin">
                
 				<@s.form action="hrAction!login" id="loginForm" method="post" theme="simple">
                    <p>输入用户名:</p> 
                	<input type="text" data-validation-engine="validate[required]"  class="logininput" name="hr.username" value="manager" />
                    <p>输入密码:</p>
                	<input type="password" data-validation-engine="validate[required]"  class="logininput" name="hr.password" value="123456"/>
                   
                   	<input type="submit" class="loginbtn" value="登       陆" /><br />
                    <!--<p><a href="#" title="忘记密码?">忘记密码?</a></p>-->
                    <@component.notice/>
				</@s.form>               
                
            </div>
        </div>
        <img src="img/login_fade.png" alt="Fade" />
    </div>
</body>
</html>